using System;
using Phoenix.ActionResults;
using Phoenix.Framework;

namespace Phoenix.Filters.ResultFilters
{
    public class ResultExecutingContext : ControllerContext
    {
        public ResultExecutingContext(ActionResult result, ControllerActionContext previousContext, ControllerActionContext currentContext,
            ControllerContext controllerContext) : base(controllerContext)
        {
            Result = result;
            CurrentContext = currentContext;
            PreviousContext = previousContext;
        }

        public ControllerActionContext PreviousContext { get; private set; }
        public ControllerActionContext CurrentContext { get; private set; }
        public ActionResult Result { get; set; }
    }
}